﻿using System.ComponentModel.DataAnnotations;
using Uber.Core.Model;

namespace Uber.WebUI.Models
{
    public class PayRequestInput
    {
        [Required]
        [Range(200, 2000)]
        public int Amount { get; set; }

        [Required]
        [StringLength(250)]
        [RegularExpression(Regexs.Email)]
        public string Email { get; set; }
        
        [Required]
        [StringLength(250)]
        [RegularExpression(Regexs.Email)]
        public string ConfirmEmail { get; set; }
    }
}